<template>
  <div class="share" >

  </div>
</template>

<script type="es6">
// import {getUrlParam} from '@/assets/js/common.js';
  export default {
    data () {
      return {
        t:0,
        id: 0
      }
    },
    mounted(){
      this.t = this.$route.query.t || 0
      this.id = this.$route.query.id || 0
      this.to()
    },
    methods:{
      to(){
        if (this.t!=0) {
          location.replace('https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx7b52d253e0110183&redirect_uri=https%3a%2f%2fhljhouse.jizui.top%2findex.html%3ft='+this.t+'%26id='+this.id+'%23%2fhandle&response_type=code&scope=snsapi_userinfo&state=0#wechat_redirect')
        }else {
          location.replace('https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx7b52d253e0110183&redirect_uri=https%3a%2f%2fhljhouse.jizui.top%2findex.html%23%2fhandle&response_type=code&scope=snsapi_userinfo&state=0#wechat_redirect')
        }
      }
    },
    watch:{
      
    },
    components:{
      
    }
  }
</script>
<style scoped lang='less'>
 
</style>